﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="PersonOverTime.aspx.cs" Inherits="App_Input_PersonOverTime" Title="员工加班单" %>

<%@ Register Assembly="ShpmCommon" Namespace="Shpm.System.Web.Control" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div>
        <table class="table_border_line">
            <tr>
                <th colspan="10" align="left" style="text-align: left; height: 15px;">

                    <script language="javascript">
        (new TitleBar('SearchBar', '员工加班单')).showBar();
                    </script>

                </th>
                
            </tr>
            <tr>
                <tr>
                    <td style="width: 7%; text-align: right; height: 30px;">
                        <span style="color: #ff7300"></span>
                    </td>
                    <td style="width: 10%; white-space: nowrap; text-align: left; height: 30px;">
                        <span style="color: #ff7300"></span>员工姓名:
                        <asp:Label ID="EmployeeId" runat="server"></asp:Label></td>
                    <td style="width: 10%; white-space: nowrap; text-align: left; height: 30px;">
                        &nbsp;</td>
                    <td style="width: 6%; white-space: nowrap; text-align: left; height: 30px;">
                    </td>
                    <td style="width: 10%; white-space: nowrap; text-align: right; height: 30px;">
                        部门:</td>
                    <td style="width: 10%; white-space: nowrap; text-align: left; height: 30px;">
                        &nbsp;<asp:Label ID="group" runat="server"></asp:Label></td>
                    <td style="width: 5%; white-space: nowrap; text-align: left; height: 30px;">
                    </td>
                    <td style="width: 10%; white-space: nowrap; text-align: right; height: 30px;">
                        职位:</td>
                    <td style="width: 23%; white-space: nowrap; text-align: left; height: 30px;">
                        &nbsp;<asp:Label ID="job" runat="server"></asp:Label></td>
                    <td style="width: 99px; white-space: nowrap; height: 30px; text-align: left">
                    </td>
                </tr>
                <tr>
                    <td style="width: 7%; text-align: right; height: 91px;">
                    </td>
                    <td style="width: 10%; white-space: nowrap; text-align: left; height: 91px;">
                        加班事由&nbsp;</td>
                    <td colspan="7" style="white-space: nowrap; text-align: left; height: 91px;">
                        <asp:TextBox ID="OvertimeMemo" runat="server" Rows="5" TextMode="MultiLine" Width="100%"></asp:TextBox></td>
                    <td colspan="1" style="width: 99px; white-space: nowrap; height: 91px; text-align: left">
                    </td>
                </tr>
                <tr>
                    <td style="width: 7%; text-align: right; height: 30px;">
                        <span style="color: #ff7300">*</span></td>
                    <td style="width: 10%; white-space: nowrap; text-align: left; height: 30px;">
                        <span style="color: #ff7300"></span>实际加班时间&nbsp;
                    </td>
                    <td colspan="7" style="white-space: nowrap; text-align: left; height: 30px;">
                        <asp:TextBox ID="BeginDate" runat="server" MaxLength="10" onfocus="new Calendar(1900,2015,0,null).show(this);"
                            Width="89px"></asp:TextBox><asp:TextBox ID="BeginTime" runat="server" MaxLength="5"
                                Width="55px"></asp:TextBox>(格式：hh:mm)～<asp:TextBox ID="EndDate" runat="server" MaxLength="10"
                                    onfocus="new Calendar(1900,2015,0,null).show(this);" Width="89px"></asp:TextBox><asp:TextBox
                                        ID="EndTime" runat="server" MaxLength="5" Width="55px"></asp:TextBox>(格式：hh:mm)</td>
                    <td colspan="1" style="width: 99px; white-space: nowrap; height: 30px; text-align: left">
                    </td>
                </tr>
                <tr>
                    <td style="width: 7%; text-align: right; height: 30px;">
                    </td>
                    <td style="width: 10%; white-space: nowrap; text-align: left; height: 30px;">
                        共计时间&nbsp;
                    </td>
                    <td colspan="7" style="white-space: nowrap; text-align: left; height: 30px;">
                        <asp:TextBox ID="LeaveDay" runat="server" Width="89px"></asp:TextBox>天<asp:TextBox
                            ID="LeaveHour" runat="server" Width="89px"></asp:TextBox>小时</td>
                    <td colspan="1" style="width: 99px; white-space: nowrap; height: 30px; text-align: left">
                    </td>
                </tr>
                <tr>
                    <td style="width: 7%; height: 30px; text-align: right">
                    </td>
                    <td style="width: 10%; white-space: nowrap; height: 30px; text-align: left">
                        支付加班费或抵用调休&nbsp;
                    </td>
                    <td colspan="7" style="white-space: nowrap; height: 30px; text-align: left">
                        <asp:DropDownList ID="OvertimeType" runat="server" DataTextField="Content" DataValueField="DictNo">
                        </asp:DropDownList></td>
                    <td colspan="1" style="width: 99px; white-space: nowrap; height: 30px; text-align: left">
                    </td>
                </tr>
        </table>
        <br />
        <table class="table_border_line">
            <tr>
                <td style="text-align: center;">
                    <asp:Button ID="Button1" runat="server" Text="登 记" OnClick="Button1_Click" />&nbsp;<asp:Button ID="Button2"
                        runat="server" Text="提 交" Visible="False" />&nbsp;<asp:Button ID="Button3" runat="server"
                            Text="审 批" Visible="False" />&nbsp;<asp:Button ID="Button4" runat="server" Text="返 回" OnClick="Button4_Click" /></td>
            </tr>
        </table>
    </div>
    <cc1:ComValidator ID="ComValidator1" runat="server">
        <cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="BeginDate">
            <cc1:ComAbsParamsAttribute Parameter="开始日期"></cc1:ComAbsParamsAttribute>
        </cc1:CheckRequiredAttribute>
        <cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="BeginTime">
            <cc1:ComAbsParamsAttribute Parameter="开始时间"></cc1:ComAbsParamsAttribute>
        </cc1:CheckRequiredAttribute>
        <cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="EndDate">
            <cc1:ComAbsParamsAttribute Parameter="结束日期"></cc1:ComAbsParamsAttribute>
        </cc1:CheckRequiredAttribute>
        <cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="EndTime">
            <cc1:ComAbsParamsAttribute Parameter="结束时间"></cc1:ComAbsParamsAttribute>
        </cc1:CheckRequiredAttribute>
        <cc1:CheckDateRangeAttribute Code="E0078" ControlToValidator1="BeginDate" ControlToValidator2="EndDate">
            <cc1:ComAbsParamsAttribute Parameter="预计开始日期" />
            <cc1:ComAbsParamsAttribute Parameter="预计结束日期" />
        </cc1:CheckDateRangeAttribute>
    </cc1:ComValidator>
    <asp:HiddenField ID="hfEmployeeId" runat="server" />
</asp:Content>
